package jt.classic.app.info.impl;

import jt.classic.app.info.AInfoType;

import org.limp.basework.AbstractSimpleBean;

import java.util.Map;


/**
 * 信息类别实现类
 *
 * @author Bizkit
 *
 */
public class AInfoTypeImpl extends AbstractSimpleBean implements AInfoType {
    private String id;
    private String name;
    private String memo;
    private String key;

    public String id() {
        return this.id;
    }

    public String iname() {
        return this.name;
    }

    public String imemo() {
        return this.memo;
    }

    public void reload(Map info) {
        if (info != null) {
            this.info = info;

            this.id = (String) info.get("IT_ID");
            this.name = (String) info.get("IT_NAME");
            this.memo = (String) info.get("IT_MEMO");
        }
    }
}
